package cn.terminus.client.customer.customreceive.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * CustomReceiveQueryParam
 *
 * @author makejava
 * @since 2021-08-12 10:27:50
 */
@Data
public class CustomReceiveQueryParam implements Serializable {
    private static final long serialVersionUID = 406971385435953414L;

    /**
     * 租户ID
     */
    private Long businessId;

    @ApiModelProperty(name = "cboProjectId", value = "项目ID", required = false)
    private Long cboProjectId;

    @ApiModelProperty(name = "customNameOrPhone", value = "客户名称/电话", required = false)
    private String customNameOrPhone;

    @ApiModelProperty(name = "cboChannelSource", value = "渠道来源", required = true)
    private String cboChannelSource;

    @ApiModelProperty(name = "status", value = "状态", required = false)
    private Integer status;

    @ApiModelProperty(name = "createTimeBegin", value = "创建时间开始", required = false)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTimeBegin;

    @ApiModelProperty(name = "createTimeEnd", value = "创建时间结束", required = false)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTimeEnd;

    @ApiModelProperty(name = "checkTimeBegin", value = "确认时间开始", required = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date checkTimeBegin;

    @ApiModelProperty(name = "checkTimeEnd", value = "确认时间结束", required = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date checkTimeEnd;
}
